﻿using System.ComponentModel.DataAnnotations;
namespace EveKillboard.Core.Views
{
    public abstract class EntityKills
    {
        [Key]
        [Column("KillmailID")]
        public int KillmailId { get; set; }
        [Column("Kill")]
        public int Kills { get; set; }
        [Column("Value")]
        public decimal Value { get; set; }

        public abstract int EntityInternalId { get; set; }
    }
    [Table("CharacterKills")]
    public class CharacterKills : EntityKills
    {
        [Column("CharacterID")]
        public override int EntityInternalId { get; set; }
        [Column("CorporationID")]
        public int CorporationId { get; set; }
    }
    [Table("CorporationKills")]
    public class CorporationKills : EntityKills
    {
        [Column("CorporationID")]
        public override int EntityInternalId { get; set; }
        [Column("AllianceID")]
        public int AllianceId { get; set; }
    }
    [Table("AllianceKills")]
    public class AllianceKills : EntityKills
    {
        [Column("AllianceID")]
        public override int EntityInternalId { get; set; }
    }
}